package cn.lzj.mapper;

import cn.lzj.pojo.Order;
import org.apache.ibatis.annotations.Param;
import cn.lzj.pojo.PayTable;

import java.util.List;

public interface OrderMapper {


    //  CancelOrder取消订单
    int deleteOrder(@Param("order") Order order);


    void addItemToPayTable(@Param("payTableItem") PayTable payTableItem);

    void addOrderToT_order(@Param("order") Order order);

    int selectIdByPayNo(@Param("payNo") String payNo);

    List<Order> selectOrderByPayId(@Param("payId") Integer payId);
}
